package kr.hkit.powerjava.chapter11;

class Dog extends Animal { //249페이지 예제

	protected void sound() {
		System.out.println("멍멍");
	}
	
	public static void main(String[] args) {
		Dog d = new Dog();
		d.sound();
	}
}
